<HTML>
<HEAD>
<TITLE>[Chapter 19] Component</TITLE>
<META NAME="author" CONTENT="John Zukowski">
<META NAME="date" CONTENT="Thu Jul 31 15:10:27 1997">
<META NAME="form" CONTENT="html">
<META NAME="metadata" CONTENT="dublincore.0.1">
<META NAME="objecttype" CONTENT="book part">
<META NAME="otheragent" CONTENT="gmat dbtohtml">
<META NAME="publisher" CONTENT="O'Reilly &amp; Associates, Inc.">
<META NAME="source" CONTENT="SGML">
<META NAME="subject" CONTENT="Java AWT">
<META NAME="title" CONTENT="Java AWT">
<META HTTP-EQUIV="Content-Script-Type" CONTENT="text/javascript">
</HEAD>
<BODY BGCOLOR="#FFFFFF">

<DIV CLASS=htmlnav>
<H1><a href='index.htm'><IMG SRC="gifs/smbanner.gif"
     ALT="Java AWT" border=0></a></H1>
<table width=515 border=0 cellpadding=0 cellspacing=0>
<tr>
<td width=172 align=left valign=top><A HREF="ch19_14.htm"><IMG SRC="gifs/txtpreva.gif" ALT="Previous" border=0></A></td>
<td width=171 align=center valign=top><B><FONT FACE="ARIEL,HELVETICA,HELV,SANSERIF" SIZE="-1">Chapter 19<br>java.awt Reference</FONT></B></TD>
<td width=172 align=right valign=top><A HREF="ch19_16.htm"><IMG SRC="gifs/txtnexta.gif" ALT="Next" border=0></A></td>
</tr>
</table>

&nbsp;
<hr align=left width=515>
</DIV>
<DIV CLASS=refnamediv>
<H1>Component</H1>

<H2>Name</H2>

Component

</DIV>

<DIV CLASS=refsect1>
<h2 CLASS=refsect1><A CLASS="TITLE" NAME="ch19-REFSECT1-AUTOID.15"></A></h2>
</DIV>


<p>
<img align=middle src="./figs/compon5.gif" alt="[Graphic: Figure from the text]" width=502 height=313 border=0>

</DIV>

<DIV CLASS=refsect1>
<h2 CLASS=refsect1><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-1">Description</A></h2>

<P CLASS=para>
The <tt CLASS=literal>Component</tt> class is the 
parent of all non-menu GUI components. 

</DIV>

<DIV CLASS=refsect1>
<h2 CLASS=refsect1><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-2">Class Definition</A></h2>

<DIV CLASS=screen>
<P>
<PRE>
public abstract class java.awt.Component
    extends java.lang.Object
    implements java.awt.image.ImageObserver
    implements java.awt.MenuContainer
    implements java.io.Serializable {
  // Constants
  public final static float BOTTOM_ALIGNMENT; <img src="gifs/bstar.gif" alt="(New)" border=0>
  public final static float CENTER_ALIGNMENT; <img src="gifs/bstar.gif" alt="(New)" border=0>
  public final static float LEFT_ALIGNMENT; <img src="gifs/bstar.gif" alt="(New)" border=0>
  public final static float RIGHT_ALIGNMENT; <img src="gifs/bstar.gif" alt="(New)" border=0>
  public final static float TOP_ALIGNMENT; <img src="gifs/bstar.gif" alt="(New)" border=0>
  // Variables
  protected Locale locale; <img src="gifs/bstar.gif" alt="(New)" border=0>
  // Constructors
  protected Component(); <img src="gifs/bstar.gif" alt="(New)" border=0>
  
  // Instance Methods
  public boolean action (Event e, Object o); <img src="gifs/wstar.gif" alt="(Deprecated)" border=0>
  public synchronized void add (PopupMenu popup); <img src="gifs/bstar.gif" alt="(New)" border=0>
  public synchronized void addComponentListener 
      (ComponentListener l); <img src="gifs/bstar.gif" alt="(New)" border=0>
  public synchronized void addFocusListener (FocusListener l); <img src="gifs/bstar.gif" alt="(New)" border=0>
  public synchronized void addKeyListener (KeyListener l); <img src="gifs/bstar.gif" alt="(New)" border=0>
  public synchronized void addMouseListener (MouseListener l); <img src="gifs/bstar.gif" alt="(New)" border=0>
  public synchronized void addMouseMotionListener 
      (MouseMotionListener l); <img src="gifs/bstar.gif" alt="(New)" border=0>
  public void addNotify();
  public Rectangle bounds(); <img src="gifs/wstar.gif" alt="(Deprecated)" border=0>
  public int checkImage (Image image, ImageObserver observer);
  public int checkImage (Image image, int width, int height, 
      ImageObserver observer);
  public boolean contains (int x, int y); <img src="gifs/bstar.gif" alt="(New)" border=0>
  public boolean contains (Point p); <img src="gifs/bstar.gif" alt="(New)" border=0>
  public Image createImage (ImageProducer producer);
  public Image createImage (int width, int height);
  public void deliverEvent (Event e); <img src="gifs/wstar.gif" alt="(Deprecated)" border=0>
  public void disable(); <img src="gifs/wstar.gif" alt="(Deprecated)" border=0>
  public final void dispatchEvent (AWTEvent e) <img src="gifs/bstar.gif" alt="(New)" border=0>
  public void doLayout(); <img src="gifs/bstar.gif" alt="(New)" border=0>
  public void enable(); <img src="gifs/wstar.gif" alt="(Deprecated)" border=0>
  public void enable (boolean condition); <img src="gifs/wstar.gif" alt="(Deprecated)" border=0>
  public float getAlignmentX(); <img src="gifs/bstar.gif" alt="(New)" border=0>
  public float getAlignmentY(); <img src="gifs/bstar.gif" alt="(New)" border=0>
  public Color getBackground();
  public Rectangle getBounds(); <img src="gifs/bstar.gif" alt="(New)" border=0>
  public synchronized ColorModel getColorModel();
  public Component getComponentAt (int x, int y); <img src="gifs/bstar.gif" alt="(New)" border=0>
  public Component getComponentAt (Point p); <img src="gifs/bstar.gif" alt="(New)" border=0>
  public Cursor getCursor(); <img src="gifs/bstar.gif" alt="(New)" border=0>
  public Font getFont();
  public FontMetrics getFontMetrics (Font f);
  public Color getForeground();
  public Graphics getGraphics();
  public Locale getLocale(); <img src="gifs/bstar.gif" alt="(New)" border=0>
  public Point getLocation(); <img src="gifs/bstar.gif" alt="(New)" border=0>
  public Point getLocationOnScreen(); <img src="gifs/bstar.gif" alt="(New)" border=0>
  public Dimension getMaximumSize(); <img src="gifs/bstar.gif" alt="(New)" border=0>
  public Dimension getMinimumSize(); <img src="gifs/bstar.gif" alt="(New)" border=0>
  public String getName(); <img src="gifs/bstar.gif" alt="(New)" border=0>
  public Container getParent();
  public ComponentPeer getPeer(); <img src="gifs/wstar.gif" alt="(Deprecated)" border=0>
  public Dimension getPreferredSize(); <img src="gifs/bstar.gif" alt="(New)" border=0>
  public Dimension getSize(); <img src="gifs/bstar.gif" alt="(New)" border=0>
  public Toolkit getToolkit();
  public final Object getTreeLock(); <img src="gifs/bstar.gif" alt="(New)" border=0>
  public boolean gotFocus (Event e, Object o); <img src="gifs/wstar.gif" alt="(Deprecated)" border=0>
  public boolean handleEvent (Event e); <img src="gifs/wstar.gif" alt="(Deprecated)" border=0>
  public void hide(); <img src="gifs/wstar.gif" alt="(Deprecated)" border=0>
  public boolean imageUpdate (Image image, int infoflags, int x, int y, 
      int width, int height);
  public boolean inside (int x, int y); <img src="gifs/wstar.gif" alt="(Deprecated)" border=0>
  public void invalidate();
  public boolean isEnabled();
  public boolean isFocusTraversable(); <img src="gifs/bstar.gif" alt="(New)" border=0>
  public boolean isShowing();
  public boolean isValid();
  public boolean isVisible();
  public boolean keyDown (Event e, int key); <img src="gifs/wstar.gif" alt="(Deprecated)" border=0>
  public boolean keyUp (Event e, int key); <img src="gifs/wstar.gif" alt="(Deprecated)" border=0>
  public void layout(); <img src="gifs/wstar.gif" alt="(Deprecated)" border=0>
  public void list();
  public void list (PrintStream out);
  public void list (PrintStream out, int indentation);
  public void list (PrintWriter out); <img src="gifs/bstar.gif" alt="(New)" border=0>
  public void list (PrintWriter out, int indentation); <img src="gifs/bstar.gif" alt="(New)" border=0>
  public Component locate (int x, int y); <img src="gifs/wstar.gif" alt="(Deprecated)" border=0>
  public Point location(); <img src="gifs/wstar.gif" alt="(Deprecated)" border=0>
  public boolean lostFocus (Event e, Object o); <img src="gifs/wstar.gif" alt="(Deprecated)" border=0>
  public Dimension minimumSize(); <img src="gifs/wstar.gif" alt="(Deprecated)" border=0>
  public boolean mouseDown (Event e, int x, int y); <img src="gifs/wstar.gif" alt="(Deprecated)" border=0>
  public boolean mouseDrag (Event e, int x, int y); <img src="gifs/wstar.gif" alt="(Deprecated)" border=0>
  public boolean mouseEnter (Event e, int x, int y); <img src="gifs/wstar.gif" alt="(Deprecated)" border=0>
  public boolean mouseExit (Event e, int x, int y); <img src="gifs/wstar.gif" alt="(Deprecated)" border=0>
  public boolean mouseMove (Event e, int x, int y); <img src="gifs/wstar.gif" alt="(Deprecated)" border=0>
  public boolean mouseUp (Event e, int x, int y); <img src="gifs/wstar.gif" alt="(Deprecated)" border=0>
  public void move (int x, int y); <img src="gifs/wstar.gif" alt="(Deprecated)" border=0>
  public void nextFocus(); <img src="gifs/wstar.gif" alt="(Deprecated)" border=0>
  public void paint (Graphics g);
  public void paintAll (Graphics g);
  public boolean postEvent (Event e); <img src="gifs/wstar.gif" alt="(Deprecated)" border=0>
  public Dimension preferredSize(); <img src="gifs/wstar.gif" alt="(Deprecated)" border=0>
  public boolean prepareImage (Image image, ImageObserver observer);
  public boolean prepareImage (Image image, int width, int height, 
      ImageObserver observer);
  public void print (Graphics g);
  public void printAll (Graphics g);
  public synchronized void remove (MenuComponent popup); <img src="gifs/bstar.gif" alt="(New)" border=0>
  public synchronized void removeComponentListener 
      (ComponentListener l); <img src="gifs/bstar.gif" alt="(New)" border=0>
  public synchronized void removeFocusListener (FocusListener l); <img src="gifs/bstar.gif" alt="(New)" border=0>
  public synchronized void removeKeyListener (KeyListener l); <img src="gifs/bstar.gif" alt="(New)" border=0>
  public synchronized void removeMouseListener (MouseListener l); <img src="gifs/bstar.gif" alt="(New)" border=0>
  public synchronized void removeMouseMotionListener 
      (MouseMotionListener l); <img src="gifs/bstar.gif" alt="(New)" border=0>
  public void removeNotify();
  public void repaint();
  public void repaint (long tm);
  public void repaint (int x, int y, int width, int height);
  public void repaint (long tm, int x, int y, int width, int height);
  public void requestFocus();
  public void reshape (int x, int y, int width, int height); <img src="gifs/wstar.gif" alt="(Deprecated)" border=0>
  public void resize (Dimension d); <img src="gifs/wstar.gif" alt="(Deprecated)" border=0>
  public void resize (int width, int height); <img src="gifs/wstar.gif" alt="(Deprecated)" border=0>
  public void setBackground (Color c);
  public void setBounds (int x, int y, int width, int height); <img src="gifs/bstar.gif" alt="(New)" border=0>
  public void setBounds (Rectangle r); <img src="gifs/bstar.gif" alt="(New)" border=0>
  public synchronized void setCursor (Cursor cursor); <img src="gifs/bstar.gif" alt="(New)" border=0>
  public void setEnabled (boolean b); <img src="gifs/bstar.gif" alt="(New)" border=0>
  public synchronized void setFont (Font f);
  public void setForeground (Color c);
  public void setLocale (Locale l); <img src="gifs/bstar.gif" alt="(New)" border=0>
  public void setLocation (int x, int y); <img src="gifs/bstar.gif" alt="(New)" border=0>
  public void setLocation (Point p); <img src="gifs/bstar.gif" alt="(New)" border=0>
  public void setName (String name); <img src="gifs/bstar.gif" alt="(New)" border=0>
  public void setSize (int width, int height); <img src="gifs/bstar.gif" alt="(New)" border=0>
  public void setSize (Dimension d); <img src="gifs/bstar.gif" alt="(New)" border=0>
  public void setVisible (boolean b); <img src="gifs/bstar.gif" alt="(New)" border=0>
  public void show(); <img src="gifs/wstar.gif" alt="(Deprecated)" border=0>
  public void show (boolean condition); <img src="gifs/wstar.gif" alt="(Deprecated)" border=0>
  public Dimension size(); <img src="gifs/wstar.gif" alt="(Deprecated)" border=0>
  public String toString();
  public void transferFocus(); <img src="gifs/bstar.gif" alt="(New)" border=0>
  public void update (Graphics g);
  public void validate();
  
  // Protected Instance Methods
  protected final void disableEvents (long eventsToDisable); <img src="gifs/bstar.gif" alt="(New)" border=0>
  protected final void enableEvents (long eventsToEnable); <img src="gifs/bstar.gif" alt="(New)" border=0>
  protected String paramString();
  protected void processComponentEvent (ComponentEvent e); <img src="gifs/bstar.gif" alt="(New)" border=0>
  protected void processEvent (AWTEvent e); <img src="gifs/bstar.gif" alt="(New)" border=0>
  protected void processFocusEvent (FocusEvent e); <img src="gifs/bstar.gif" alt="(New)" border=0>
  protected void processKeyEvent (KeyEvent e); <img src="gifs/bstar.gif" alt="(New)" border=0>
  protected void processMouseEvent (MouseEvent e); <img src="gifs/bstar.gif" alt="(New)" border=0>
  protected void processMouseMotionEvent (MouseEvent e); <img src="gifs/bstar.gif" alt="(New)" border=0>
}
</PRE>
</DIV>

</DIV>

<DIV CLASS=refsect1>
<h2 CLASS=refsect1><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-3">Constants</A></h2>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-3.1">BOTTOM_ALIGNMENT</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-3.1.1">public final static float BOTTOM_ALIGNMENT <img src="gifs/bstar.gif" alt="(New)" border=0></A></h4>

<P CLASS=para>
Constant representing bottom alignment in <tt CLASS=literal>getAlignmentY()</tt>. 

</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-3.2">CENTER_ALIGNMENT</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-3.2.1">public final static float CENTER_ALIGNMENT <img src="gifs/bstar.gif" alt="(New)" border=0></A></h4>

<P CLASS=para>
Constant representing center alignment in <tt CLASS=literal>getAlignmentX() </tt>and <tt CLASS=literal>getAlignmentY()</tt>. 

</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-3.3">LEFT_ALIGNMENT</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-3.3.1">public final static float LEFT_ALIGNMENT <img src="gifs/bstar.gif" alt="(New)" border=0></A></h4>

<P CLASS=para>
Constant representing left alignment in <tt CLASS=literal>getAlignmentX()</tt>. 

</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-3.5">RIGHT_ALIGNMENT</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-3.5.1">public final static float RIGHT_ALIGNMENT <img src="gifs/bstar.gif" alt="(New)" border=0></A></h4>

<P CLASS=para>
Constant representing right alignment in <tt CLASS=literal>getAlignmentX()</tt>. 

</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-3.6">TOP_ALIGNMENT</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-3.6.1">public final static float TOP_ALIGNMENT <img src="gifs/bstar.gif" alt="(New)" border=0></A></h4>

<P CLASS=para>
Constant representing top alignment in <tt CLASS=literal>getAlignmentY()</tt>. 

</DIV>

</DIV>

</DIV>

<DIV CLASS=refsect1>
<h2 CLASS=refsect1><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-4">Variables</A></h2>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-4.1">locale</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-4.1.1">protected Locale locale <img src="gifs/bstar.gif" alt="(New)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
The locale for the component. Used for internationalization support. </DL>
</DIV>

</DIV>

</DIV>

<DIV CLASS=refsect1>
<h2 CLASS=refsect1><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-5">Constructors</A></h2>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-5.1">Component</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-5.1.1">protected Component() <img src="gifs/bstar.gif" alt="(New)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
This constructor creates a "lightweight" component. This constructor 
allows <tt CLASS=literal>Component</tt> to be directly 
subclassed using code written entirely in Java. </DL>
</DIV>

</DIV>

</DIV>

<DIV CLASS=refsect1>
<h2 CLASS=refsect1><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6">Instance Methods</A></h2>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.1">action</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.1.1">public boolean action (Event e, Object o) <img src="gifs/wstar.gif" alt="(Deprecated)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>e</I><br>
<DD>

<P CLASS=para>
<tt CLASS=literal>Event</tt> 
instance identifying what triggered the call to this method. 

<p>
<DT CLASS=varlistentry><I CLASS=emphasis>o</I><br>
<DD>

<P CLASS=para>
Argument specific to the 
component subclass that generated the event. </DL>
<p>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
<tt CLASS=literal>true</tt> if event handled, <tt CLASS=literal>false</tt> 
to propagate it to parent container. 

<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Method called when user performs some action in <tt CLASS=literal>Component</tt>. 
This method is a relic of the old 1.0.2 event model and is replaced by 
the <tt CLASS=literal>process...Event()</tt> methods. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.2">add</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.2.1">public synchronized void add (PopupMenu popup) <img src="gifs/bstar.gif" alt="(New)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>popup</I><br>
<DD>

<P CLASS=para>
The menu to add. </DL>
<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
After the <tt CLASS=literal>PopupMenu</tt> is added 
to a component, it can be shown in the component's coordinate space. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.3">addComponentListener</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.3.1">public void addComponentListener (ComponentListener l) <img src="gifs/bstar.gif" alt="(New)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Adds a listener for the <tt CLASS=literal>ComponentEvent</tt> 
objects this <tt CLASS=literal>Component</tt> generates. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.4">addFocusListener</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.4.1">public void addFocusListener (FocusListener l) <img src="gifs/bstar.gif" alt="(New)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Adds a listener for the <tt CLASS=literal>FocusEvent</tt> 
objects this <tt CLASS=literal>Component</tt> generates. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.5">addKeyListener</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.5.1">public void addKeyListener (KeyListener l) <img src="gifs/bstar.gif" alt="(New)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Adds a listener for the <tt CLASS=literal>KeyEvent</tt> 
objects this <tt CLASS=literal>Component</tt> generates. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.6">addMouseListener</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.6.1">public void addMouseListener (MouseListener l) <img src="gifs/bstar.gif" alt="(New)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Adds a listener for the <tt CLASS=literal>MouseEvent</tt> 
objects this <tt CLASS=literal>Component</tt> generates. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.7">addMouseMotionListener</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.7.1">public void addMouseMotionListener (MouseMotionListener l) <img src="gifs/bstar.gif" alt="(New)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Adds a listener for the motion <tt CLASS=literal>MouseEvent</tt> 
objects this <tt CLASS=literal>Component</tt> generates. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.8">addNotify</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.8.1">public void addNotify()</A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Creates peer of <tt CLASS=literal>Component</tt>'s 
subclass. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.9">bounds</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.9.1">public Rectangle bounds() <img src="gifs/wstar.gif" alt="(Deprecated)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
Gets bounding rectangle of <tt CLASS=literal>Component</tt>. 

<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
A <tt CLASS=literal>Rectangle</tt> that returns the 
outer limits of the <tt CLASS=literal>Component</tt>. 
Replaced by <tt CLASS=literal>getBounds()</tt> in 1.1. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.10">checkImage</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.10.1">public int checkImage (Image image, ImageObserver observer)</A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>image</I><br>
<DD>

<P CLASS=para>
<tt CLASS=literal>Image</tt> 
to check. 

<p>
<DT CLASS=varlistentry><I CLASS=emphasis>observer</I><br>
<DD>

<P CLASS=para>
The object an image will 
be rendered onto. </DL>
<p>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
<tt CLASS=literal>ImageObserver</tt> Flags ORed together 
indicating the image's status. 

<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Checks status of image construction. </DL>
</DIV>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.10.2">public int checkImage (Image image, int width, int height, ImageObserver observer)</A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>image</I><br>
<DD>

<P CLASS=para>
Image to check. 

<p>
<DT CLASS=varlistentry><I CLASS=emphasis>width</I><br>
<DD>

<P CLASS=para>
Horizontal size image will be scaled to. 

<p>
<DT CLASS=varlistentry><I CLASS=emphasis>height</I><br>
<DD>

<P CLASS=para>
Vertical size image will be scaled to. 

<p>
<DT CLASS=varlistentry><I CLASS=emphasis>observer</I><br>
<DD>

<P CLASS=para>
Object image will be rendered onto. </DL>
<p>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
<tt CLASS=literal>ImageObserver</tt> flags ORed together 
indicating the image's status. 

<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Checks status of image construction. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.11">contains</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.11.1">public boolean contains (int x, int y) <img src="gifs/bstar.gif" alt="(New)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>x</I><br>
<DD>

<P CLASS=para>
The x coordinate, in this <tt CLASS=literal>Component</tt>'s 
coordinate system. 

<p>
<DT CLASS=varlistentry><I CLASS=emphasis>y</I><br>
<DD>

<P CLASS=para>
The y coordinate, in this <tt CLASS=literal>Component</tt>'s 
coordinate system. </DL>
<p>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
<tt CLASS=literal>true</tt> if the <tt CLASS=literal>Component</tt> 
contains the point; <tt CLASS=literal>false</tt> otherwise. </DL>
</DIV>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.11.2">public boolean contains (Point p) <img src="gifs/bstar.gif" alt="(New)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>p</I><br>
<DD>

<P CLASS=para>
The point to be tested, in this <tt CLASS=literal>Component</tt>'s 
coordinate system. </DL>
<p>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
<tt CLASS=literal>true</tt> if the <tt CLASS=literal>Component</tt> 
contains the point; <tt CLASS=literal>false</tt> otherwise. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.12">createImage</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.12.1">public Image createImage (ImageProducer producer)</A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>producer</I><br>
<DD>

<P CLASS=para>
Class that implements <tt CLASS=literal>ImageProducer</tt> 
interface to create the new image. </DL>
<p>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
Newly created image instance. 

<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Creates an <tt CLASS=literal>Image</tt> based upon 
an <tt CLASS=literal>ImageProducer</tt>. </DL>
</DIV>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.12.2">public Image createImage (int width, int height)</A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>width</I><br>
<DD>

<P CLASS=para>
Horizontal size for in-memory <tt CLASS=literal>Image</tt>. 

<p>
<DT CLASS=varlistentry><I CLASS=emphasis>height</I><br>
<DD>

<P CLASS=para>
Vertical size for in-memory <tt CLASS=literal>Image</tt>. </DL>
<p>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
Newly created image instance. 

<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Creates an empty in-memory <tt CLASS=literal>Image</tt> 
for double buffering; to draw on the image, use its graphics context. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.13">deliverEvent</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.13.1">public void deliverEvent (Event e) <img src="gifs/wstar.gif" alt="(Deprecated)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>e</I><br>
<DD>

<P CLASS=para>
<tt CLASS=literal>Event</tt> instance 
to deliver. </DL>
<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Delivers event to the component for processing. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.14">disable</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.14.1">public void disable() <img src="gifs/wstar.gif" alt="(Deprecated)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Disables component so that it is unresponsive to user interactions. Replaced 
by <tt CLASS=literal>setEnabled(false)</tt>. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-69.149">dispatchEvent</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-69.149.1">public final void dispatchEvent (AWTEvent e) <img src="gifs/bstar.gif" alt="(New)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>e</I><br>
<DD>

<P CLASS=para>
The <tt CLASS=literal>AWTEvent</tt> to process. </DL>
<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Tells the component to deal with the <tt CLASS=literal>AWTEvent e</tt>.</DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.15">doLayout</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.15.1">public void doLayout() <img src="gifs/bstar.gif" alt="(New)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Lays out component. This method is a replacement for <tt CLASS=literal>layout()</tt>. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.16">enable</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.16.1">public void enable() <img src="gifs/wstar.gif" alt="(Deprecated)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Enables component so that it is responsive to user interactions. Use <tt CLASS=literal>setEnabled(true)</tt> 
instead. </DL>
</DIV>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.16.2">public void enable (boolean condition) <img src="gifs/wstar.gif" alt="(Deprecated)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>condition</I><br>
<DD>

<P CLASS=para>
<tt CLASS=literal>true</tt> to enable 
the component; <tt CLASS=literal>false</tt> to disable 
it. </DL>
<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Enables or disables the component based upon <tt CLASS=literal>condition</tt>. 
Use <tt CLASS=literal>setEnabled(boolean)</tt> instead. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.17">getAlignmentX</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.17.1">public float getAlignmentX() <img src="gifs/bstar.gif" alt="(New)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
A number between 0 and 1 representing the horizontal alignment of this 
component. 

<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
One of the constants <tt CLASS=literal>LEFT_ALIGNMENT</tt>, 
<tt CLASS=literal>CENTER_ALIGNMENT</tt>, or <tt CLASS=literal>RIGHT_ALIGNMENT</tt> 
may be returned. <tt CLASS=literal>CENTER_ALIGNMENT</tt> 
is returned by default. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.18">getAlignmentY</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.18.1">public float getAlignmentY() <img src="gifs/bstar.gif" alt="(New)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
A number between 0 and 1 representing the vertical alignment of this component. 

<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
One of the constants <tt CLASS=literal>TOP_ALIGNMENT</tt>, 
<tt CLASS=literal>CENTER_ALIGNMENT</tt>, or <tt CLASS=literal>BOTTOM_ALIGNMENT</tt> 
may be returned. <tt CLASS=literal>CENTER_ALIGNMENT</tt> 
is returned by default. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.19">getBackground</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.19.1">public Color getBackground()</A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
Background color of the component. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.20">getBounds</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.20.1">public Rectangle getBounds() <img src="gifs/bstar.gif" alt="(New)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
Gets bounding rectangle of <tt CLASS=literal>Component</tt>. 

<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Returns a <tt CLASS=literal>Rectangle</tt> that returns 
the outer limits of the <tt CLASS=literal>Component</tt>. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.21">getColorModel</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.21.1">public synchronized ColorModel getColorModel()</A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
<tt CLASS=literal>ColorModel</tt> used to display 
the current component. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.22">getComponentAt</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.22.1">public Component getComponentAt (int x, int y) <img src="gifs/bstar.gif" alt="(New)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>x</I><br>
<DD>

<P CLASS=para>
The x coordinate, in this 
<tt CLASS=literal>Component</tt>'s coordinate system. 

<p>
<DT CLASS=varlistentry><I CLASS=emphasis>y</I><br>
<DD>

<P CLASS=para>
The y coordinate, in this <tt CLASS=literal>Component</tt>'s 
coordinate system. </DL>
<p>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
Returns the <tt CLASS=literal>Component</tt> containing 
the given point. </DL>
</DIV>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.22.2">public Component getComponentAt (Point p) <img src="gifs/bstar.gif" alt="(New)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>p</I><br>
<DD>

<P CLASS=para>
The point to be tested, in this <tt CLASS=literal>Component</tt>'s 
coordinate system. </DL>
<p>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
Returns the <tt CLASS=literal>Component</tt> containing 
the given point. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.23">getCursor</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.23.1">public Cursor getCursor() <img src="gifs/bstar.gif" alt="(New)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
Current cursor of the component. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.24">getFont</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.24.1">public Font getFont()</A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
Current font of the component. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.25">getFontMetrics</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.25.1">public FontMetrics getFontMetrics (Font f)</A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>f</I><br>
<DD>

<P CLASS=para>
A <tt CLASS=literal>Font</tt> object, 
whose platform specific information is desired. </DL>
<p>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
Size information for the given <tt CLASS=literal>Font</tt>. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.26">getForeground</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.26.1">public Color getForeground()</A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
Foreground color of component. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.27">getGraphics</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.27.1">public Graphics getGraphics()</A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Throws<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><tt CLASS=literal>InternalException</tt><br>
<DD>

<P CLASS=para>
If acquiring 
graphics context is unsupported. </DL>
<p>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
<tt CLASS=literal>Component</tt>'s graphics context. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.28">getLocale</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.28.1">public Locale getLocale() <img src="gifs/bstar.gif" alt="(New)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Throws<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><tt CLASS=literal>IllegalComponentStateException</tt><br>
<DD>

<P CLASS=para>
If 
the component does not have a locale or it has not been added to a hierarchy 
that does. </DL>
<p>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
<tt CLASS=literal>Component</tt>'s locale. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.29">getLocation</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.29.1">public Point getLocation() <img src="gifs/bstar.gif" alt="(New)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
Position of component. 

<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Gets the current position of this <tt CLASS=literal>Component</tt> 
in its parent's coordinate space. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.30">getLocationOnScreen</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.30.1">public Point getLocationOnScreen() <img src="gifs/bstar.gif" alt="(New)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
Position of component. 

<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Gets the current position of this <tt CLASS=literal>Component</tt> 
in the screen's coordinate space. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.31">getMaximumSize</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.31.1">public Dimension getMaximumSize() <img src="gifs/bstar.gif" alt="(New)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
The maximum dimensions of the component. 

<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
By default, a maximal <tt CLASS=literal>Dimension</tt> 
is returned. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.32">getMinimumSize</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.32.1">public Dimension getMinimumSize() <img src="gifs/bstar.gif" alt="(New)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
The minimum dimensions of the component. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.33">getName</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.33.1">public String getName() <img src="gifs/bstar.gif" alt="(New)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
This component's name. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.34">getParent</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.34.1">public Container getParent()</A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
Parent <tt CLASS=literal>Container</tt> of <tt CLASS=literal>Component</tt>. 

<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Gets container that this <tt CLASS=literal>Component</tt> 
is held in. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.35">getPeer</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.35.1">public ComponentPeer getPeer() <img src="gifs/wstar.gif" alt="(Deprecated)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
Peer of <tt CLASS=literal>Component</tt>. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.36">getPreferredSize</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.36.1">public Dimension getPreferredSize() <img src="gifs/bstar.gif" alt="(New)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
The preferred dimensions of the component. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.37">getSize</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.37.1">public Dimension getSize() <img src="gifs/bstar.gif" alt="(New)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
Dimensions of component. 

<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Gets width and height of component. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.38">getToolkit</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.38.1">public Toolkit getToolkit()</A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
<tt CLASS=literal>Toolkit</tt> of <tt CLASS=literal>Component</tt>. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.39">getTreeLock</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.39.1">public final Object getTreeLock() <img src="gifs/bstar.gif" alt="(New)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
The AWT tree locking object. 

<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Returns the object used for tree locking and layout operations. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.40">gotFocus</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.40.1">public boolean gotFocus (Event e, Object o) <img src="gifs/wstar.gif" alt="(Deprecated)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>e</I><br>
<DD>

<P CLASS=para>
<tt CLASS=literal>Event</tt> instance 
identifying what triggered the call to this method. 

<p>
<DT CLASS=varlistentry><I CLASS=emphasis>o</I><br>
<DD>

<P CLASS=para>
Argument specific to the component subclass that generated 
the event. </DL>
<p>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
<tt CLASS=literal>true</tt> if event handled, <tt CLASS=literal>false</tt> 
to propagate it to parent container. 

<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Called when <tt CLASS=literal>Component</tt> gets 
input focus. This method is not used in the 1.1 event model. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.41">handleEvent</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.41.1">public boolean handleEvent (Event e) <img src="gifs/wstar.gif" alt="(Deprecated)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>e</I><br>
<DD>

<P CLASS=para>
<tt CLASS=literal>Event</tt> instance 
identifying what triggered the call to this method. </DL>
<p>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
<tt CLASS=literal>true</tt> if event handled, <tt CLASS=literal>false</tt> 
to propagate it to parent container. 

<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
High-level event handling routine that calls helper routines. Replaced 
by <tt CLASS=literal>processEvent(AWTEvent)</tt>. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.42">hide</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.42.1">public void hide() <img src="gifs/wstar.gif" alt="(Deprecated)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Hides component from view. Replaced by <tt CLASS=literal>setVisible(false)</tt>. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.43">imageUpdate</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.43.1">public boolean imageUpdate (Image image, int infoflags, int x, int y, int width, int height)</A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>image</I><br>
<DD>

<P CLASS=para>
<tt CLASS=literal>Image</tt> being 
loaded. 

<p>
<DT CLASS=varlistentry><I CLASS=emphasis>infoflags</I><br>
<DD>

<P CLASS=para>
<tt CLASS=literal>ImageObserver</tt> 
flags ORed together of available information. 

<p>
<DT CLASS=varlistentry><I CLASS=emphasis>x</I><br>
<DD>

<P CLASS=para>
x coordinate of upper-left corner of <tt CLASS=literal>Image</tt>. 

<p>
<DT CLASS=varlistentry><I CLASS=emphasis>y</I><br>
<DD>

<P CLASS=para>
y coordinate of upper-left corner of <tt CLASS=literal>Image</tt>. 

<p>
<DT CLASS=varlistentry><I CLASS=emphasis>width</I><br>
<DD>

<P CLASS=para>
Horizontal dimension of <tt CLASS=literal>Image</tt>. 

<p>
<DT CLASS=varlistentry><I CLASS=emphasis>height</I><br>
<DD>

<P CLASS=para>
Vertical dimension of <tt CLASS=literal>Image</tt>. </DL>
<p>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
<tt CLASS=literal>true</tt> if <tt CLASS=literal>Image</tt> 
fully loaded, <tt CLASS=literal>false</tt> otherwise. 

<p>
<DT CLASS=varlistentry>Implements<br>
<DD>

<P CLASS=para>
<tt CLASS=literal>ImageObserver.imageUpdate()</tt> 

<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
An asynchronous update interface for receiving notifications about <tt CLASS=literal>Image</tt> 
information as it is loaded. Meaning of parameters changes with values 
of flags. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.44">inside</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.44.1">public boolean inside (int x, int y) <img src="gifs/wstar.gif" alt="(Deprecated)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>x</I><br>
<DD>

<P CLASS=para>
Horizontal position. 

<p>
<DT CLASS=varlistentry><I CLASS=emphasis>y</I><br>
<DD>

<P CLASS=para>
Vertical position. </DL>
<p>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
<tt CLASS=literal>true</tt> if the point (<tt CLASS=literal>x</tt>, 
<tt CLASS=literal>y</tt>) falls within the component's 
bounds, <tt CLASS=literal>false</tt> otherwise. 

<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Checks if coordinates are within bounding box of <tt CLASS=literal>Component</tt>. 
Replaced by <tt CLASS=literal>contains(int, int)</tt>. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.45">invalidate</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.45.1">public void invalidate()</A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Sets the component's valid state to <tt CLASS=literal>false</tt>. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.46">isEnabled</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.46.1">public boolean isEnabled()</A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
<tt CLASS=literal>true</tt> if enabled, <tt CLASS=literal>false</tt> 
otherwise. 

<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Checks to see if the <tt CLASS=literal>Component</tt> 
is currently enabled. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.47">isFocusTraversable</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.47.1">public boolean isFocusTraversable() <img src="gifs/bstar.gif" alt="(New)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
<tt CLASS=literal>true</tt> if this <tt CLASS=literal>Component</tt> 
can be traversed using Tab and Shift-Tab, <tt CLASS=literal>false</tt> 
otherwise. 

<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Checks to see if the <tt CLASS=literal>Component</tt> 
is navigable using the keyboard. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.48">isShowing</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.48.1">public boolean isShowing()</A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
<tt CLASS=literal>true</tt> if showing, <tt CLASS=literal>false</tt> 
otherwise. 

<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Checks to see if the <tt CLASS=literal>Component</tt> 
is currently showing. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.49">isValid</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.49.1">public boolean isValid()</A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
<tt CLASS=literal>true</tt> if valid, <tt CLASS=literal>false</tt> 
otherwise. 

<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Checks to see if the <tt CLASS=literal>Component</tt> 
is currently valid. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.50">isVisible</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.50.1">public boolean isVisible()</A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
<tt CLASS=literal>true</tt> if visible, <tt CLASS=literal>false</tt> 
otherwise. 

<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Checks to see if the <tt CLASS=literal>Component</tt> 
is currently visible. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.51">keyDown</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.51.1">public boolean keyDown (Event e, int key) <img src="gifs/wstar.gif" alt="(Deprecated)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>e</I><br>
<DD>

<P CLASS=para>
<tt CLASS=literal>Event</tt> instance 
identifying what triggered the call to this method. 

<p>
<DT CLASS=varlistentry><I CLASS=emphasis>key</I><br>
<DD>

<P CLASS=para>
Integer representation of key pressed. </DL>
<p>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
<tt CLASS=literal>true</tt> if event handled, <tt CLASS=literal>false</tt> 
to propagate it to parent container. 

<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Method called whenever the user presses a key. Replaced by <tt CLASS=literal>processKeyEvent(KeyEvent)</tt>. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.52">keyUp</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.52.1">public boolean keyUp (Event e, int key) <img src="gifs/wstar.gif" alt="(Deprecated)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>e</I><br>
<DD>

<P CLASS=para>
<tt CLASS=literal>Event</tt> instance 
identifying what triggered the call to this method. 

<p>
<DT CLASS=varlistentry><I CLASS=emphasis>key</I><br>
<DD>

<P CLASS=para>
Integer representation of key released. </DL>
<p>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
<tt CLASS=literal>true</tt> if event handled, <tt CLASS=literal>false</tt> 
to propagate it to parent container. 

<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Method called whenever the user releases a key. Replaced by <tt CLASS=literal>processKeyEvent(KeyEvent)</tt>. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.53">layout</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.53.1">public void layout() <img src="gifs/wstar.gif" alt="(Deprecated)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Lays out component. Replaced by <tt CLASS=literal>doLayout()</tt>. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.54">list</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.54.1">public void list()</A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Prints the contents of the <tt CLASS=literal>Component</tt> 
to <tt CLASS=literal>System.out</tt>. </DL>
</DIV>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.54.2">public void list (PrintStream out)</A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>out</I><br>
<DD>

<P CLASS=para>
Output stream to send results to. </DL>
<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Prints the contents of the <tt CLASS=literal>Component</tt> 
to a <tt CLASS=literal>PrintStream</tt>. </DL>
</DIV>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.54.3">public void list (PrintStream out, int indentation)</A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>out</I><br>
<DD>

<P CLASS=para>
Output stream to send results to. 

<p>
<DT CLASS=varlistentry><I CLASS=emphasis>indentation</I><br>
<DD>

<P CLASS=para>
Indentation to use when printing. </DL>
<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Prints the contents of the <tt CLASS=literal>Component</tt> 
indented to a <tt CLASS=literal>PrintStream</tt>. </DL>
</DIV>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.54.4">public void list (PrintWriter out)</A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>out</I><br>
<DD>

<P CLASS=para>
Output stream to send results to. </DL>
<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Prints the contents of the <tt CLASS=literal>Component</tt> 
to a <tt CLASS=literal>PrintWriter</tt>. </DL>
</DIV>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.54.5">public void list (PrintWriter out, int indentation)</A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>out</I><br>
<DD>

<P CLASS=para>
Output stream to send results to. 

<p>
<DT CLASS=varlistentry><I CLASS=emphasis>indentation</I><br>
<DD>

<P CLASS=para>
Indentation to use when printing. </DL>
<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Prints the contents of the <tt CLASS=literal>Component</tt> 
indented to a <tt CLASS=literal>PrintWriter</tt>. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.55">locate</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.55.1">public Component locate (int x, int y) <img src="gifs/wstar.gif" alt="(Deprecated)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>x</I><br>
<DD>

<P CLASS=para>
Horizontal position. 

<p>
<DT CLASS=varlistentry><I CLASS=emphasis>y</I><br>
<DD>

<P CLASS=para>
Vertical position. </DL>
<p>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
<tt CLASS=literal>Component</tt> if the point (<tt CLASS=literal>x</tt>, 
<tt CLASS=literal>y</tt>) falls within the component, 
<tt CLASS=literal>null</tt> otherwise. 

<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Replaced by <tt CLASS=literal>getComponentAt(int, int)</tt>. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.56">location</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.56.1">public Point location() <img src="gifs/wstar.gif" alt="(Deprecated)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
Position of component. 

<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Gets the current position of this <tt CLASS=literal>Component</tt> 
in its parent's coordinate space. Replaced by <tt CLASS=literal>getLocation()</tt>. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.57">lostFocus</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.57.1">public boolean lostFocus (Event e, Object o) <img src="gifs/wstar.gif" alt="(Deprecated)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>e</I><br>
<DD>

<P CLASS=para>
<tt CLASS=literal>Event</tt> instance 
identifying what triggered the call to this method. 

<p>
<DT CLASS=varlistentry><I CLASS=emphasis>o</I><br>
<DD>

<P CLASS=para>
Argument specific to the 
component subclass that generated the event. </DL>
<p>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
<tt CLASS=literal>true</tt> if event handled, <tt CLASS=literal>false</tt> 
to propagate it to parent container. 

<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Method called when <tt CLASS=literal>Component</tt> 
loses input focus. Replaced by <tt CLASS=literal>processFocusEvent(FocusEvent)</tt>. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.58">minimizeSize</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.58.1">public Dimension minimumSize() <img src="gifs/wstar.gif" alt="(Deprecated)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
The minimum dimensions of the component. Replaced by <tt CLASS=literal>getMinimumSize()</tt>. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.59">mouseDown</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.59.1">public boolean mouseDown (Event e, int x, int y) <img src="gifs/wstar.gif" alt="(Deprecated)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>e</I><br>
<DD>

<P CLASS=para>
<tt CLASS=literal>Event</tt> instance 
identifying what triggered the call to this method. 

<p>
<DT CLASS=varlistentry><I CLASS=emphasis>x</I><br>
<DD>

<P CLASS=para>
Horizontal position of the mouse within <tt CLASS=literal>Component</tt> 
when <tt CLASS=literal>Event</tt> initiated 

<p>
<DT CLASS=varlistentry><I CLASS=emphasis>y</I><br>
<DD>

<P CLASS=para>
Vertical position of the mouse within <tt CLASS=literal>Component</tt> 
when <tt CLASS=literal>Event</tt> initiated </DL>
<p>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
<tt CLASS=literal>true</tt> if event handled, <tt CLASS=literal>false</tt> 
to propagate it to parent container. 

<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Method called when the user presses a mouse button over <tt CLASS=literal>Component</tt>. 
Replaced by <tt CLASS=literal>processMouseEvent(MouseEvent)</tt>. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.60">mouseDrag</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.60.1">public boolean mouseDrag (Event e, int x, int y) <img src="gifs/wstar.gif" alt="(Deprecated)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>e</I><br>
<DD>

<P CLASS=para>
<tt CLASS=literal>Event</tt> instance 
identifying what triggered the call to this method. 

<p>
<DT CLASS=varlistentry><I CLASS=emphasis>x</I><br>
<DD>

<P CLASS=para>
Horizontal position of the mouse within <tt CLASS=literal>Component</tt> 
when <tt CLASS=literal>Event</tt> initiated 

<p>
<DT CLASS=varlistentry><I CLASS=emphasis>y</I><br>
<DD>

<P CLASS=para>
Vertical position of the mouse within <tt CLASS=literal>Component</tt> 
when <tt CLASS=literal>Event</tt> initiated </DL>
<p>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
<tt CLASS=literal>true</tt> if event handled, <tt CLASS=literal>false</tt> 
to propagate it to parent container. 

<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Method called when the user is pressing a mouse button and moves the mouse. Replaced 
by <tt CLASS=literal>processMouseMotionEvent(MouseEvent)</tt>. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.61">mouseEnter</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.61.1">public boolean mouseEnter (Event e, int x, int y) <img src="gifs/wstar.gif" alt="(Deprecated)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>e</I><br>
<DD>

<P CLASS=para>
<tt CLASS=literal>Event</tt> instance 
identifying what triggered the call to this method. 

<p>
<DT CLASS=varlistentry><I CLASS=emphasis>x</I><br>
<DD>

<P CLASS=para>
Horizontal position of the mouse within <tt CLASS=literal>Component</tt> 
when <tt CLASS=literal>Event</tt> initiated 

<p>
<DT CLASS=varlistentry><I CLASS=emphasis>y</I><br>
<DD>

<P CLASS=para>
Vertical position of the mouse within <tt CLASS=literal>Component</tt> 
when <tt CLASS=literal>Event</tt> initiated </DL>
<p>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
<tt CLASS=literal>true</tt> if event handled, <tt CLASS=literal>false</tt> 
to propagate it to parent container. 

<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Method called when the mouse enters <tt CLASS=literal>Component</tt>. 
Replaced by <tt CLASS=literal>processMouseEvent(MouseEvent)</tt>. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.62">mouseExit</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.62.1">public boolean mouseExit (Event e, int x, int y) <img src="gifs/wstar.gif" alt="(Deprecated)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>e</I><br>
<DD>

<P CLASS=para>
<tt CLASS=literal>Event</tt> instance 
identifying what triggered the call to this method. 

<p>
<DT CLASS=varlistentry><I CLASS=emphasis>x</I><br>
<DD>

<P CLASS=para>
Horizontal position of the mouse within <tt CLASS=literal>Component</tt> 
when <tt CLASS=literal>Event</tt> initiated 

<p>
<DT CLASS=varlistentry><I CLASS=emphasis>y</I><br>
<DD>

<P CLASS=para>
Vertical position of the mouse within <tt CLASS=literal>Component</tt> 
when <tt CLASS=literal>Event</tt> initiated </DL>
<p>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
<tt CLASS=literal>true</tt> if event handled, <tt CLASS=literal>false</tt> 
to propagate it to parent container. 

<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Method called when the mouse exits <tt CLASS=literal>Component</tt>. 
Replaced by <tt CLASS=literal>processMouseEvent(MouseEvent)</tt>. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.63">mouseMove</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.63.1">public boolean mouseMove (Event e, int x, int y) <img src="gifs/wstar.gif" alt="(Deprecated)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>e</I><br>
<DD>

<P CLASS=para>
<tt CLASS=literal>Event</tt> instance 
identifying what triggered the call to this method. 

<p>
<DT CLASS=varlistentry><I CLASS=emphasis>x</I><br>
<DD>

<P CLASS=para>
Horizontal position of the mouse within <tt CLASS=literal>Component</tt> 
when <tt CLASS=literal>Event</tt> initiated 

<p>
<DT CLASS=varlistentry><I CLASS=emphasis>y</I><br>
<DD>

<P CLASS=para>
Vertical position of the mouse within <tt CLASS=literal>Component</tt> 
when <tt CLASS=literal>Event</tt> initiated </DL>
<p>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
<tt CLASS=literal>true</tt> if event handled, <tt CLASS=literal>false</tt> 
to propagate it to parent container. 

<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Method called when the user is not pressing a mouse button and moves the mouse. Replaced 
by <tt CLASS=literal>processMouseMotionEvent(MouseEvent)</tt>. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.64">mouseUp</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.64.1">public boolean mouseUp (Event e, int x, int y) <img src="gifs/wstar.gif" alt="(Deprecated)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>e</I><br>
<DD>

<P CLASS=para>
<tt CLASS=literal>Event</tt> instance 
identifying what triggered the call to this method. 

<p>
<DT CLASS=varlistentry><I CLASS=emphasis>x</I><br>
<DD>

<P CLASS=para>
Horizontal position of the mouse within <tt CLASS=literal>Component</tt> 
when <tt CLASS=literal>Event</tt> initiated 

<p>
<DT CLASS=varlistentry><I CLASS=emphasis>y</I><br>
<DD>

<P CLASS=para>
Vertical position of the mouse within <tt CLASS=literal>Component</tt> 
when <tt CLASS=literal>Event</tt> initiated </DL>
<p>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
<tt CLASS=literal>true</tt> if event is handled, <tt CLASS=literal>false</tt> 
to propagate it to the parent container. 

<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Method called when user releases mouse button over <tt CLASS=literal>Component</tt>. 
Replaced by <tt CLASS=literal>processMouseEvent(MouseEvent)</tt>. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.65">move</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.65.1">public void move (int x, int y) <img src="gifs/wstar.gif" alt="(Deprecated)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>x</I><br>
<DD>

<P CLASS=para>
New horizontal position for component. 

<p>
<DT CLASS=varlistentry><I CLASS=emphasis>y</I><br>
<DD>

<P CLASS=para>
New vertical position for component. </DL>
<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Relocates component. Replaced by <tt CLASS=literal>setLocation(int, int)</tt>. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.66">nextFocus</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.66.1">public void nextFocus() <img src="gifs/wstar.gif" alt="(Deprecated)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Moves focus from current component to next one in parent container. Replaced 
by <tt CLASS=literal>transferFocus()</tt>. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.67">paint</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.67.1">public void paint (Graphics g)</A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>g</I><br>
<DD>

<P CLASS=para>
Graphics context of component. </DL>
<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Empty method to be overridden to draw something in the graphics context. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.68">paintAll</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.68.1">public void paintAll (Graphics g)</A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>g</I><br>
<DD>

<P CLASS=para>
Graphics context of component. </DL>
<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Method to validate component and paint its peer if it is visible. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.69">postEvent</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.69.1">public boolean postEvent (Event e) <img src="gifs/wstar.gif" alt="(Deprecated)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>e</I><br>
<DD>

<P CLASS=para>
<tt CLASS=literal>Event</tt> instance 
to post to component </DL>
<p>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
If <tt CLASS=literal>Event</tt> is handled, <tt CLASS=literal>true</tt> 
is returned. Otherwise, <tt CLASS=literal>false</tt> 
is returned. 

<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Tells <tt CLASS=literal>Component</tt> to deal with 
<tt CLASS=literal>Event</tt>. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.70">preferredSize</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.70.1">public Dimension preferredSize() <img src="gifs/wstar.gif" alt="(Deprecated)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
The preferred dimensions of the component. Replaced by <tt CLASS=literal>getPreferredSize()</tt>. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.71">prepareImage</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.71.1">public boolean prepareImage (Image image, ImageObserver observer)</A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>image</I><br>
<DD>

<P CLASS=para>
<tt CLASS=literal>Image</tt> to 
start loading. 

<p>
<DT CLASS=varlistentry><I CLASS=emphasis>observer</I><br>
<DD>

<P CLASS=para>
Component on which image will be rendered. </DL>
<p>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
<tt CLASS=literal>true</tt> if <tt CLASS=literal>Image</tt> is fully loaded, 
<tt CLASS=literal>false</tt> otherwise. 

<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Forces <tt CLASS=literal>Image</tt> to start loading. </DL>
</DIV>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.71.2">public boolean prepareImage (Image image, int width, int height, ImageObserver observer)</A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>image</I><br>
<DD>

<P CLASS=para>
<tt CLASS=literal>Image</tt> to 
start loading. 

<p>
<DT CLASS=varlistentry><I CLASS=emphasis>width</I><br>
<DD>

<P CLASS=para>
Horizontal size of the <tt CLASS=literal>Image</tt> 
after scaling. 

<p>
<DT CLASS=varlistentry><I CLASS=emphasis>height</I><br>
<DD>

<P CLASS=para>
Vertical size of the <tt CLASS=literal>Image</tt> 
after scaling. 

<p>
<DT CLASS=varlistentry><I CLASS=emphasis>observer</I><br>
<DD>

<P CLASS=para>
Component on which image will be rendered. </DL>
<p>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
<tt CLASS=literal>true</tt> if <tt CLASS=literal>Image</tt> is fully loaded, 
<tt CLASS=literal>false</tt> otherwise. 

<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Forces <tt CLASS=literal>Image</tt> to start loading. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.72">print</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.72.1">public void print (Graphics g)</A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>g</I><br>
<DD>

<P CLASS=para>
Graphics context. </DL>
<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Empty method to be overridden to print something into the graphics context. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.73">printAll</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.73.1">public void printAll (Graphics g)</A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>g</I><br>
<DD>

<P CLASS=para>
Graphics context. </DL>
<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Method to print this component and its children. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.74">remove</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.74.1">public void remove (MenuComponent popup) <img src="gifs/bstar.gif" alt="(New)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>popup</I><br>
<DD>

<P CLASS=para>
The menu to remove. </DL>
<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
After adding a <tt CLASS=literal>PopupMenu</tt>, you 
can use this method to remove it. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.75">removeComponentListener</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.75.1">public void removeComponentListener (ComponentListener l) <img src="gifs/bstar.gif" alt="(New)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Removes the specified <tt CLASS=literal>ComponentListener</tt> 
from this <tt CLASS=literal>Component</tt>. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.76">removeFocusListener</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.76.1">public void removeFocusListener (FocusListener l) <img src="gifs/bstar.gif" alt="(New)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Removes the specified <tt CLASS=literal>FocusListener</tt> 
from this <tt CLASS=literal>Component</tt>. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.77">removeKeyListener</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.77.1">public void removeKeyListener (KeyListener l) <img src="gifs/bstar.gif" alt="(New)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Removes the specified <tt CLASS=literal>KeyListener</tt> 
from this <tt CLASS=literal>Component</tt>. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.78">removeMouseListener</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.78.1">public void removeMouseListener (MouseListener l) <img src="gifs/bstar.gif" alt="(New)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Removes the specified <tt CLASS=literal>MouseListener</tt> 
from this <tt CLASS=literal>Component</tt>. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.79">removeMouseMotionListener</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.79.1">public void removeMouseMotionListener (MouseMotionListener l) <img src="gifs/bstar.gif" alt="(New)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Removes the specified <tt CLASS=literal>MouseMotionListener</tt> 
from this <tt CLASS=literal>Component</tt>. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.80">removeNotify</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.80.1">public void removeNotify()</A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Removes peer of <tt CLASS=literal>Component</tt>'s 
subclass. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.81">repaint</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.81.1">public void repaint()</A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Requests scheduler to redraw the component as soon as possible. </DL>
</DIV>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.81.2">public void repaint (long tm)</A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>tm</I><br>
<DD>

<P CLASS=para>
Millisecond delay allowed before repaint. </DL>
<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Requests scheduler to redraw the component within a time period. </DL>
</DIV>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.81.3">public void repaint (int x, int y, int width, int height)</A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>x</I><br>
<DD>

<P CLASS=para>
Horizontal origin of bounding box to redraw. 

<p>
<DT CLASS=varlistentry><I CLASS=emphasis>y</I><br>
<DD>

<P CLASS=para>
Vertical origin of bounding box to redraw. 

<p>
<DT CLASS=varlistentry><I CLASS=emphasis>width</I><br>
<DD>

<P CLASS=para>
Width of bounding box to redraw. 

<p>
<DT CLASS=varlistentry><I CLASS=emphasis>height</I><br>
<DD>

<P CLASS=para>
Height of bounding box to redraw. </DL>
<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Requests scheduler to redraw a portion of component as soon as possible. </DL>
</DIV>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.81.4">public void repaint (long tm, int x, int y, int width, int height)</A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>tm</I><br>
<DD>

<P CLASS=para>
Millisecond delay allowed before repaint. 

<p>
<DT CLASS=varlistentry><I CLASS=emphasis>x</I><br>
<DD>

<P CLASS=para>
Horizontal origin of bounding box to redraw. 

<p>
<DT CLASS=varlistentry><I CLASS=emphasis>y</I><br>
<DD>

<P CLASS=para>
Vertical origin of bounding box to redraw. 

<p>
<DT CLASS=varlistentry><I CLASS=emphasis>width</I><br>
<DD>

<P CLASS=para>
Width of bounding box to redraw. 

<p>
<DT CLASS=varlistentry><I CLASS=emphasis>height</I><br>
<DD>

<P CLASS=para>
Height of bounding box to redraw. </DL>
<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Requests scheduler to redraw a portion of component within a time period. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.82">requestFocus</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.82.1">public void requestFocus()</A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Requests the input focus for this <tt CLASS=literal>Component</tt>.</DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.83">reshape</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.83.1">public void reshape (int x, int y, int width, int height) <img src="gifs/wstar.gif" alt="(Deprecated)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>x</I><br>
<DD>

<P CLASS=para>
New horizontal position for component. 

<p>
<DT CLASS=varlistentry><I CLASS=emphasis>y</I><br>
<DD>

<P CLASS=para>
New vertical position for component. 

<p>
<DT CLASS=varlistentry><I CLASS=emphasis>width</I><br>
<DD>

<P CLASS=para>
New width for component. 

<p>
<DT CLASS=varlistentry><I CLASS=emphasis>height</I><br>
<DD>

<P CLASS=para>
New height for component. </DL>
<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Relocates and resizes component. Replaced by <tt CLASS=literal>setBounds(int, 
int, int, int)</tt>. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.84">resize</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.84.1">public void resize (Dimension d) <img src="gifs/wstar.gif" alt="(Deprecated)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>d</I><br>
<DD>

<P CLASS=para>
New dimensions for the component. </DL>
<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Resizes component. Replaced by <tt CLASS=literal>setSize(Dimension)</tt>. </DL>
</DIV>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.84.2">public void resize (int width, int height) <img src="gifs/wstar.gif" alt="(Deprecated)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>width</I><br>
<DD>

<P CLASS=para>
New width for component. 

<p>
<DT CLASS=varlistentry><I CLASS=emphasis>height</I><br>
<DD>

<P CLASS=para>
New height for component. </DL>
<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Resizes component. Replaced by <tt CLASS=literal>setSize(int, int)</tt>. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.85">setBackground</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.85.1">public void setBackground (Color c)</A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>c</I><br>
<DD>

<P CLASS=para>
New background color. </DL>
<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Changes the component's background color. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.86">setBounds</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.86.1">public void setBounds (int x, int y, int width, int height) <img src="gifs/bstar.gif" alt="(New)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>x</I><br>
<DD>

<P CLASS=para>
New horizontal position for component. 

<p>
<DT CLASS=varlistentry><I CLASS=emphasis>y</I><br>
<DD>

<P CLASS=para>
New vertical position for component. 

<p>
<DT CLASS=varlistentry><I CLASS=emphasis>width</I><br>
<DD>

<P CLASS=para>
New width for component. 

<p>
<DT CLASS=varlistentry><I CLASS=emphasis>height</I><br>
<DD>

<P CLASS=para>
New height for component. </DL>
<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Relocates and resizes the component. </DL>
</DIV>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.86.2">public void setBounds (Rectangle r) <img src="gifs/bstar.gif" alt="(New)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>r</I><br>
<DD>

<P CLASS=para>
New coordinates for component. </DL>
<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Relocates and resizes component. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.87">setCursor</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.87.1">public synchronized void setCursor (Cursor cursor) <img src="gifs/bstar.gif" alt="(New)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>cursor</I><br>
<DD>

<P CLASS=para>
The new cursor for the component. </DL>
<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Changes the component's cursor. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.88">setEnabled</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.88.1">public void setEnabled (boolean b) <img src="gifs/bstar.gif" alt="(New)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>b</I><br>
<DD>

<P CLASS=para>
<tt CLASS=literal>true</tt> to enable 
the component, <tt CLASS=literal>false</tt> to disable 
it. </DL>
<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Enables or disables the component. Replaces <tt CLASS=literal>enable()</tt>, 
<tt CLASS=literal>enable(boolean)</tt>, and <tt CLASS=literal>disable()</tt>. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.89">setFont</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.89.1">public synchronized void setFont (Font f)</A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>f</I><br>
<DD>

<P CLASS=para>
Font to change component to. </DL>
<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Changes the font of the component. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.90">setForeground</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.90.1">public void setForeground (Color c)</A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>c</I><br>
<DD>

<P CLASS=para>
New foreground color. </DL>
<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Changes the foreground color of component's area. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.91">setLocale</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.91.1">public void setLocale (Locale l) <img src="gifs/bstar.gif" alt="(New)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>l</I><br>
<DD>

<P CLASS=para>
The locale object for the component. </DL>
<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Sets the <tt CLASS=literal>Component</tt>'s 
locale. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.92">setLocation</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.92.1">public void setLocation (int x, int y) <img src="gifs/bstar.gif" alt="(New)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>x</I><br>
<DD>

<P CLASS=para>
New horizontal position for component. 

<p>
<DT CLASS=varlistentry><I CLASS=emphasis>y</I><br>
<DD>

<P CLASS=para>
New vertical position for component. </DL>
<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Relocates the component. </DL>
</DIV>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.92.2">public void setLocation (Point p) <img src="gifs/bstar.gif" alt="(New)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>p</I><br>
<DD>

<P CLASS=para>
New position for component. </DL>
<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Relocates the component. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.93">setName</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.93.1">public void setName (String name) <img src="gifs/bstar.gif" alt="(New)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>name</I><br>
<DD>

<P CLASS=para>
New name for component. </DL>
<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Sets the component's name. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.94">setSize</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.94.1">public void setSize (int width, int height) <img src="gifs/bstar.gif" alt="(New)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>width</I><br>
<DD>

<P CLASS=para>
New width for component. 

<p>
<DT CLASS=varlistentry><I CLASS=emphasis>height</I><br>
<DD>

<P CLASS=para>
New height for component. </DL>
<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Resizes the component. </DL>
</DIV>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.94.2">public void setSize (Dimension d) <img src="gifs/bstar.gif" alt="(New)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>d</I><br>
<DD>

<P CLASS=para>
New dimensions for the component.</DL>
<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Resizes the component. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.95">setVisible</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.95.1">public void setVisible (boolean b) <img src="gifs/bstar.gif" alt="(New)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>b</I><br>
<DD>

<P CLASS=para>
<tt CLASS=literal>true</tt>
to show component, <tt CLASS=literal>false</tt> to hide it.</DL>
<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Shows or hides the component based on the <tt CLASS=literal>b</tt> 
parameter. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.96">show</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.96.1">public void show() <img src="gifs/wstar.gif" alt="(Deprecated)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Replaced by <tt CLASS=literal>setVisible(true)</tt>. </DL>
</DIV>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.96.2">public void show (boolean condition) <img src="gifs/wstar.gif" alt="(Deprecated)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>condition</I><br>
<DD>

<P CLASS=para>
<tt CLASS=literal>true</tt> to show 
the component, <tt CLASS=literal>false</tt> to hide it.</DL>
<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Replaced by <tt CLASS=literal>setVisible(boolean)</tt>. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.97">size</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.97.1">public Dimension size() <img src="gifs/wstar.gif" alt="(Deprecated)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
Dimensions of the component.

<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Gets width and height of the component. Replaced by <tt CLASS=literal>getSize()</tt>. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.98">toString</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.98.1">public String toString()</A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
A string representation of the <tt CLASS=literal>Component</tt> object. 

<p>
<DT CLASS=varlistentry>Overrides<br>
<DD>

<P CLASS=para>
<tt CLASS=literal>Object.toString()</tt></DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.99">transferFocus</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.99.1">public void transferFocus() <img src="gifs/bstar.gif" alt="(New)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Transfers focus to the next component in the container hierarchy. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.100">update</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.100.1">public void update (Graphics g)</A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>g</I><br>
<DD>

<P CLASS=para>
Graphics context of component.</DL>
<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Called to update the component's display area. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.101">validate</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-6.101.1">public void validate()</A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Sets the component's valid state to <tt CLASS=literal>true</tt>. </DL>
</DIV>

</DIV>

</DIV>

<DIV CLASS=refsect1>
<h2 CLASS=refsect1><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-7">Protected Instance Methods</A></h2>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-7.1">disableEvents</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-7.1.1">protected final void disableEvents (long eventsToDisable) <img src="gifs/bstar.gif" alt="(New)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>eventsToDisable</I><br>
<DD>

<P CLASS=para>
A value 
representing certain kinds of events.  This can be constructed by
ORing the event mask constants defined in 
<tt CLASS=literal>java.awt.AWTEvent</tt>.</DL>
<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
By default, a component receives events corresponding to the event listeners 
that have registered. If a component should not receive events of a certain 
type, even if there is a listener registered for that type of event, this 
method can be used to disable that event type. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-7.2">enableEvents</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-7.2.1">protected final void enableEvents (long eventsToEnable) <img src="gifs/bstar.gif" alt="(New)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>eventsToEnable</I><br>
<DD>

<P CLASS=para>
A value representing certain kinds of events.  This can be constructed by ORing the event mask constants defined in 
<tt CLASS=literal>java.awt.AWTEvent</tt>.</DL>
<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
By default, a component receives events corresponding to the event listeners 
that have registered. If a component should receive other types of events 
as well, this method can be used to request them. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-7.3">paramString</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-7.3.1">protected String paramString()</A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Returns<br>
<DD>

<P CLASS=para>
A <tt CLASS=literal>String</tt> with the current settings of the
<tt CLASS=literal>Component</tt>.

<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Helper method for <tt CLASS=literal>toString()</tt> 
to generate a string of current settings. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-7.4">processComponentEvent</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-7.4.1">protected void processComponentEvent(ComponentEvent e) <img src="gifs/bstar.gif" alt="(New)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>e</I><br>
<DD>

<P CLASS=para>
The event to process.</DL>
<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Component events are passed to this method for processing. Normally, this 
method is called by <tt CLASS=literal>processEvent()</tt>. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-7.5">processEvent</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-7.5.1">protected void processEvent(AWTEvent e) <img src="gifs/bstar.gif" alt="(New)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>e</I><br>
<DD>

<P CLASS=para>
The event to process.</DL>
<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Low level <tt CLASS=literal>AWTEvent</tt>s are passed 
to this method for processing. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-7.6">processFocusEvent</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-7.6.1">protected void processFocusEvent(FocusEvent e) <img src="gifs/bstar.gif" alt="(New)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>e</I><br>
<DD>

<P CLASS=para>
The event to process.</DL>
<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Focus events are passed to this method for processing. Normally, this method 
is called by <tt CLASS=literal>processEvent()</tt>. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-7.7">processKeyEvent</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-7.7.1">protected void processKeyEvent(KeyEvent e) <img src="gifs/bstar.gif" alt="(New)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>e</I><br>
<DD>

<P CLASS=para>
The event to process.</DL>
<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Key events are passed to this method for processing. Normally, this method 
is called by <tt CLASS=literal>processEvent()</tt>. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-7.8">processMouseEvent</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-7.8.1">protected void processMouseEvent(MouseEvent e) <img src="gifs/bstar.gif" alt="(New)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>e</I><br>
<DD>

<P CLASS=para>
The event to process.</DL>
<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Mouse events are passed to this method for processing. Normally, this method 
is called by <tt CLASS=literal>processEvent()</tt>. </DL>
</DIV>

</DIV>

<DIV CLASS=refsect2>
<h3 CLASS=refsect2><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-7.9">processMouseMotionEvent</A></h3>

<DIV CLASS=refsect3>
<h4 CLASS=refsect3><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-7.9.1">protected void processMouseMotionEvent(MouseEvent e) <img src="gifs/bstar.gif" alt="(New)" border=0></A></h4>

<DL CLASS=variablelist>
<DT CLASS=varlistentry>Parameters<br>
<DD>

<P>
<DL CLASS=variablelist>
<DT CLASS=varlistentry><I CLASS=emphasis>e</I><br>
<DD>

<P CLASS=para>
The event to process.</DL>
<p>
<DT CLASS=varlistentry>Description<br>
<DD>

<P CLASS=para>
Mouse motion events are passed to this method for processing. Normally, 
this method is called by <tt CLASS=literal>processEvent()</tt>. </DL>
</DIV>

</DIV>

</DIV>

<DIV CLASS=refsect1>
<h2 CLASS=refsect1><A CLASS="TITLE" NAME="JAWT-CH-19-REF-COMPONENT-SECT-8">See Also</A></h2>

<P CLASS=para>
<tt CLASS=literal>Button</tt>, <tt CLASS=literal>Canvas</tt>, 
<tt CLASS=literal>Checkbox</tt>, <tt CLASS=literal>Choice</tt>, 
<tt CLASS=literal>Color</tt>, <tt CLASS=literal>ColorModel</tt>, 
<tt CLASS=literal>ComponentPeer</tt>, <tt CLASS=literal>Container</tt>, 
<tt CLASS=literal>Dimension</tt>, <tt CLASS=literal>Event</tt>, 
<tt CLASS=literal>Font</tt>, <tt CLASS=literal>FontMetrics</tt>, 
<tt CLASS=literal>Graphics</tt>, <tt CLASS=literal>ImageObserver</tt>, 
<tt CLASS=literal>ImageProducer</tt>, <tt CLASS=literal>Label</tt>, 
<tt CLASS=literal>List</tt>, <tt CLASS=literal>MenuContainer</tt>, 
<tt CLASS=literal>Object</tt>, <tt CLASS=literal>Point</tt>, 
<tt CLASS=literal>PrintStream</tt>, <tt CLASS=literal>Rectangle</tt>, 
<tt CLASS=literal>Scrollbar</tt>, <tt CLASS=literal>Serializable</tt>, 
<tt CLASS=literal>String</tt>, <tt CLASS=literal>TextComponent</tt>, 
<tt CLASS=literal>Toolkit</tt> 

</DIV>


<DIV CLASS=htmlnav>

<P>
<HR align=left width=515>
<table width=515 border=0 cellpadding=0 cellspacing=0>
<tr>
<td width=172 align=left valign=top><A HREF="ch19_14.htm"><IMG SRC="gifs/txtpreva.gif" ALT="Previous" border=0></A></td>
<td width=171 align=center valign=top><a href="index.htm"><img src='gifs/txthome.gif' border=0 alt='Home'></a></td>
<td width=172 align=right valign=top><A HREF="ch19_16.htm"><IMG SRC="gifs/txtnexta.gif" ALT="Next" border=0></A></td>
</tr>
<tr>
<td width=172 align=left valign=top>Color</td>
<td width=171 align=center valign=top><a href="index/idx_a.htm"><img src='gifs/index.gif' alt='Book Index' border=0></a></td>
<td width=172 align=right valign=top>Container</td>
</tr>
</table>
<hr align=left width=515>

<IMG SRC="gifs/smnavbar.gif" USEMAP="#map" BORDER=0> 
<MAP NAME="map"> 
<AREA SHAPE=RECT COORDS="0,0,108,15" HREF="../javanut/index.htm"
alt="Java in a Nutshell"> 
<AREA SHAPE=RECT COORDS="109,0,200,15" HREF="../langref/index.htm" 
alt="Java Language Reference"> 
<AREA SHAPE=RECT COORDS="203,0,290,15" HREF="../awt/index.htm" 
alt="Java AWT"> 
<AREA SHAPE=RECT COORDS="291,0,419,15" HREF="../fclass/index.htm" 
alt="Java Fundamental Classes"> 
<AREA SHAPE=RECT COORDS="421,0,514,15" HREF="../exp/index.htm" 
alt="Exploring Java"> 
</MAP>
</DIV>

</BODY>
</HTML>
